const { CleanWebpackPlugin } = require('clean-webpack-plugin')

module.exports = {
  // mode, 配置打包环境: development, production
  mode: 'production',

  // plugin配置, webpack plugin 是一个类, plugins 填写的都是插件的实例
  plugins: [
    new CleanWebpackPlugin()
  ]
}